/* 这个文件专门放登陆页面的样式 */

.login-container{
    width: 100%;
    /* 用整个高度-导航栏高度 */
    height: calc(100% - 50px);
    /* 让对话框垂直水平居中，使用弹性布局 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-dialog{
    width: 400px;
    height: 400px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 10px;
}

.login-dialog h1{
    text-align: center;
    padding: 50px 0;
}

.login-dialog .row{
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.login-dialog .row span{
    width: 100px;
}

#username, #password{
    width: 200px;
    height: 40px;
    border-radius: 5px;
    border: none;
    font-size: 15px;
    padding: 5px;
}

#submit{
    width: 300px;
    height: 40px;
    color: white;
    background-color: orange;
    border: none;
    border-radius: 10px;
}

#submit:active{
    background-color: #666;
}